Skip to content

[documentation]: document seq tactic#879

Draft
strub wants to merge 2 commits intomainfrom
doc-seq-tactic
Draft

[documentation]: document seq tactic#879
strub wants to merge 2 commits intomainfrom
doc-seq-tactic

Conversation

@strub
Copy link
Member

@strub strub commented Feb 2, 2026

No description provided.

@strub strub self-assigned this Feb 2, 2026
Copy link
Member

@fdupress fdupress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment. also a direct change coming.

(*$*) (* Split after the first command, and supply an intermediate assertion. *)
seq 1 : (y = n + 1).

- (* First part: y <- x + 1 *)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this "First part" thing, but can't figure out a nicer way of presenting it,

Suggestion for your criticism:

(* First subgoal:
  from every memory in the original precondition (x = n),
  the program y <- x + 1 leads to
  a memory in the intermediate assertion. *)

and similarly for the second subgoal. (Also note that return no longer appears in the program at the point where seq is applied.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants